package caves 
{
	import caves.points.SpacePoint;
	import flash.geom.Point;
	/**
	 * ...
	 * @author Jeroen Gildemacher
	 */
	public class AbstractSpace 
	{
		protected var _spacePoints:Vector.<SpacePoint> = new Vector.<SpacePoint>;
		protected var _start:Point;
		protected var _index:int;
		protected var _connections:Vector.<AbstractSpace> = new Vector.<AbstractSpace>;
		
		public function AbstractSpace() 
		{
			
		}
		
		//                GETTERS AND SETTERS		
		public function get spacePoints():Vector.<SpacePoint> 
		{
			return _spacePoints;
		}
		
		public function set spacePoints(value:Vector.<SpacePoint>):void 
		{
			_spacePoints = value;
		}
		
		public function get start():Point 
		{
			return _start;
		}
		
		public function set start(value:Point):void 
		{
			_start = value;
		}
		
		public function get index():int 
		{
			return _index;
		}
		
		public function set index(value:int):void 
		{
			_index = value;
		}
		
		public function get connections():Vector.<AbstractSpace> 
		{
			return _connections;
		}
		
		public function set connections(value:Vector.<AbstractSpace>):void 
		{
			_connections = value;
		}
		
	}

}